package com.ctshk.rpc.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品推荐表
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_commodity_recommend")
@ApiModel(value="CommodityRecommend对象", description="商品推荐表")
public class CommodityRecommend extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "推荐类型：1：新品；2：推荐；3：精品；4：优惠；5：推广产品")
    private Integer recommendType;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
